﻿using System;

namespace ExFlash.Records
{
    public class FocalGradient : Gradient
    {        
        public FixedFloat8Record FocalPoint
        {
            get;
            protected set;
        }

        public FocalGradient()
            : base(ShapeType.Shape4)
        {

        }
        
        #region ISwfSerializable Members

        public override void SwfDeserialize(BinaryBitReader reader)
        {
            base.SwfDeserialize(reader);

            FocalPoint = new FixedFloat8Record();
            FocalPoint.SwfDeserialize(reader);
        }

        public override void SwfSerialize(byte[] arr, ref int offset)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
